<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">

  <!-- Use the .htaccess and remove these lines to avoid edge case issues.
       More info: h5bp.com/b/378 -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <title>Nicolaj Roos Photography</title>
  <meta name="description" content="">
  <meta name="author" content="">

  <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  <meta name="viewport" content="width=device-width,initial-scale=1">

  <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->

  <!-- CSS: implied media=all -->
  <!-- CSS concatenated and minified via ant build script-->
  <link rel="stylesheet" href="css/style.php">
  <link rel="stylesheet" href="css/mystyles.css">
  <!-- end CSS-->

  <!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->

  <!-- All JavaScript at the bottom, except for Modernizr / Respond.
       Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
       For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
  <script src="js/libs/modernizr-2.0.6.min.js"></script>
</head>

<body>
	
	<div id="fb-root"></div>
	
	
	<div id="container">
		
	<div id="alertArrowKeys">
		<p>Use arrow keys for navigation</p>
	</div>

    <header>
		<nav>
			<img id="logo" src="img/header-logo.png" alt="logo"/>
			<ul>
				<li>Contact</li>
				<li>Blog</li>
				<li>News</li>
			</ul>
			<div id="navElement">
				<a href="contact.html">Contact</a>
				<div class="fb-like" data-href="http://photography.nicolajroos.dk" data-send="false" data-width="450" data-show-faces="false" data-colorscheme="dark" ></div>
			</div>
			<a href="#"><img id="fullscreen" src="img/fullscreen.jpg"/></a>
		</nav>
    </header>
    <div id="form">
    	<div id="formSub">
			<h1>Contact form</h1>
			<form id="contactForm" action="php/processForm.php" method="post">
			<fieldset>
				
				<label>Name</label>
				<input type="text" name="senderName" id="senderName" placeholder="Please type your name" required="required" maxlength="20"/>
				
				<label>Email</label>
				<input type="email" name="senderEmail" id="senderEmail" placeholder="Please type your email address" required="required" maxlength="20" />
				
				<label>Message</label>
				<textarea name="message" id="message" placeholder="Please type your message" required="required" cols="80" rows="5" maxlength="10000"></textarea>
				
				<label>Validation - what's <?php $a = rand(1,10); $b = rand(1,10); echo $a." + ".$b ?>?</label>
				<input type="hidden" id="a" name="a" value="<?php echo $a ?>"/>
				<input type="hidden" id="b" name="b" value="<?php echo $b ?>"/>
				<input type="text" name="senderValidation" id="senderValidation" placeholder="Please type your answer" required="required" maxlength="2" />
				
				<input id="sendMessage" type="submit" name="sendMessage" value="Send Message" />
				
				<input type="button" id="cancel" name="cancel" value="Cancel" />
				
			</fieldset>
			</form>
			
			<div id="sendingMessage" class="statusMessage"><p>Sending your message. Please wait...</p></div>
			<div id="successMessage" class="statusMessage"><p>Thanks for sending your message! We'll get back to you shortly.</p></div>
			<div id="failureMessage" class="statusMessage"><p>There was a problem sending your message. Please try again.</p></div>
			<div id="incompleteMessage" class="statusMessage"><p>Please complete all the fields in the form before sending.</p></div>
			
		</div>
	</div>

    
    <div id="main" role="main">
    </div>
    <footer>

    </footer>
  </div> <!--! end of #container -->
	<div id="lightbox"> </div><!-- /lightbox --> 

  <!-- JavaScript at the bottom for fast page loading -->

  <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
  <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
  <!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> -->
  <script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.4.min.js"><\/script>')</script>


  <!-- scripts concatenated and minified via ant build script-->
  <script defer src="js/plugins.js"></script>
  
  
  <!--  <script defer src="js/script.js"></script> -->
  <script defer src="js/script.js"></script>
	<script src="js/common.js" type="text/javascript" charset="utf-8"></script>
  
  
  <script defer src="js/pixastic.custom.js"></script>
  <!-- end scripts-->

	
  <!-- Change UA-XXXXX-X to be your site's ID -->
  <!--
  <script>
    window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
    Modernizr.load({
      load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
    });
  </script>
  -->


  <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
       chromium.org/developers/how-tos/chrome-frame-getting-started -->
  <!--[if lt IE 7 ]>
    <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
    <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
  <![endif]-->
  
</body>
</html>
